from django.conf import settings
from django.contrib.messages.storage import default_storage
import logging

class loggingMiddleware(object):
    """
    Middleware that handles logging actions.
    """

    def process_request(self, request):
        # request._messages = default_storage(request)
        logging.debug('HELLO THERE')

